package cn.zhf.shop.mapper;

import cn.zhf.shop.entity.lesson.LessonType;
import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import java.util.List;

@Mapper
public interface LessonTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(LessonType record);

    int insertSelective(LessonType record);

    LessonType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(LessonType record);

    int updateByPrimaryKey(LessonType record);

    List<LessonType> selectAll();

    String selectTypeNameById(@Param("id") Integer id);

    List<LessonType> selectByTypeState(@Param("typeState")Integer typeState);


}